<link href="../addons/jy_merch/css/style.css?v=201805251730" rel="stylesheet">
<div class="fui-page fui-page-current page-commission-down" ng-init="pagedata.get_list()">
    <div class="fui-header">
        <div class="fui-header-left">
            <a class="back" ng-click="goback();"></a>
        </div>
        <div class="title">{{pagedata.setting.torder || '商户订单'}}({{pagedata.commission_total}}个)</div>
    </div>
    <div class="fui-content">
        <div class='fui-cell-group' style='margin-top:0px;background: #fea23d;color: #fff;'>
            <div class='fui-cell'>
                <div class='fui-cell-info' style='width:auto;color: #fff;'>{{pagedata.setting.commission_total || '总佣金'}}：+{{pagedata.commission_money}}元</div>
            </div>
        </div>
        <div  class="fui-list-group" id="container" >
		<div ng-repeat="item in pagedata.list" class="fui-list" style="height:auto">
			<div class="fui-list-media">
				<img ng-if="item.member.avatar" ng-src="{{tomedia(item.member.avatar) ||'../core/resource/images/nopic.jpg'}}" class="round" style="width:2rem;height:2rem">
				<i ng-if="!item.member.avatar" class="icon icon-my2"></i>
			</div>
			<div class="fui-list-inner">
				<div class="row">
				      <div class="row-text" >
					 {{item.member.nickname||item.ordertitle}}
				      </div>
				</div>
				<div class="subtitle" style="font-size:0.6rem">
				    商户:{{item.merchname}}
				</div>
				<div class="subtitle" style="font-size:0.6rem">
				    时间:{{item.createtime}}
				</div>
				<div class="subtitle" style="font-size:0.6rem">
				    单号:{{item.ordersn}}
				</div>

			</div>
			<div class="row-remark" style="width:auto">
				<p>预计佣金:{{item.money}}元</p>
			</div>
			
		</div>
		</div>
		<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
		<div ng-if="pagedata.list.length==0" class='content-empty' >
			<i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i>
			<br/>
			<p style="color: #999;font-size: .75rem">暂时没有任何数据</p>
		</div>

    </div>
</div>
<div ng-include="sys_html('zhaoshang/_footer')"></div>
<script>
scope.tool.get_list('jy_merch/zhaoshang.order/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_merch/zhaoshang.order/list/');
}
</script>

